
;--- v2.17: offset of embedded structs/unions was wrong ( actually,
;--- was the embedding struct's size ) in the listing if the struct
;--- definition was not before any data or code lines.

	.model small
	.data
v1	dw ?		; just define something that generates data

S1 struct
m1	db ?	;+0
m2	db ?	;+1
union
u1	db ?	;+2
u2	db ?	;+2
ends
m3	db ?	;+3
S1 ends

S2 struct
m1	db ?	;+0
m2	db ?	;+1
struct
as1	db ?	;+2
as2	db ?	;+3
ends
m3	db ?	;+4
m4	db ?	;+5
S2 ends

S3 struct
m1	db ?	;+0
m2	db ?	;+1
union
u1	db ?	;+2
struct
as1	db ?	;+2
as2	db ?	;+3
ends
ends
m3	db ?	;+4
m4	db ?	;+5
S3 ends
	end
